/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package slsBeans;

import EL.*;

import java.util.List;
import javax.ejb.Remote;


/**
 *
 * @author Tian
 */
@Remote
public interface RestaurantBLORemote {

    List<Restaurants> getAll();

    Contacts getByID(int id);

    Restaurants getByName(String name);

    boolean add(Restaurants restaurant, Contacts contact);

    boolean edit(Contacts contact);

    boolean delete(int id);

    Restaurants getResByID(int id);

   
    
}
